/*
 ***************************************************************************
 * MediaTeK Inc.
 * 4F, No. 2 Technology	5th	Rd.
 * Science-based Industrial	Park
 * Hsin-chu, Taiwan, R.O.C.
 *
 * (c) Copyright 2002-2012, MTK.
 *
 * All rights reserved.	MediaTeK's source	code is	an unpublished work	and	the
 * use of a	copyright notice does not imply	otherwise. This	source code
 * contains	confidential trade secret material of MediaTeK Tech. Any attemp
 * or participation	in deciphering,	decoding, reverse engineering or in	any
 * way altering	the	source code	is stricitly prohibited, unless	the	prior
 * written consent of MediaTeK, Inc. is obtained.
 ***************************************************************************

	Module Name:
	omci_me_ctc.h

	Abstract:

	Revision History:
	Who			When			What
	--------	----------		----------------------------------------------
	Name		Date			Modification logs
	Xi.Wang		2018/9/5	Create
*/

#ifndef _CTC_ME_H_
#define _CTC_ME_H_

#include "omci_me_multicast.h"

#define OMCI_EMOP_ACL_TABLE_ENTRY_LENGTH 				30
#define OMCI_EMOP_ACL_TABLE_ROW_ENTRY_LENGTH 			120

#define OMCI_EMOP_ACL_TABLE_ENTRY_ROW_PART_0		0
#define OMCI_EMOP_ACL_TABLE_ENTRY_ROW_PART_1		1
#define OMCI_EMOP_ACL_TABLE_ENTRY_ROW_PART_2		2
#define OMCI_EMOP_ACL_TABLE_ENTRY_ROW_PART_3		3


#define LOID_AUTH_START			0x00
#define LOID_AUTH_SUCCESS		0x01
#define LOID_AUTH_NON_EXIST		0x02
#define LOID_AUTH_PWD_ERR		0x03
#define LOID_AUTH_CONFLICT		0x04

#define LOOP_DETECT_MANAGEMENT_INACTIVED  0x0000
#define LOOP_DETECT_MANAGEMENT_ACTIVED    0x0001
#define LOOP_DETECT_NO_AUTO_PORT_DOWN     0x0000
#define LOOP_DETECT_AUTO_PORT_DOWN        0x0001

extern omci_attr_dscp_t omci_attr_ctc_loop_detect_op[];
extern omci_me_func_t omci_me_ctc_loop_detect_op;
extern omci_attr_t omci_ctc_loop_detect_attr;

extern omci_attr_dscp_t omci_attr_ctc_loid_auth_op[];
extern omci_me_func_t omci_me_ctc_loid_auth_op;
extern omci_attr_t omci_ctc_loid_auth_attr;


extern omci_attr_dscp_t omci_attr_ctc_ext_multicast_op_profile_op[];
extern omci_me_func_t omci_me_ctc_ext_multicast_op_profile_op;
extern omci_attr_t omci_ctc_ext_multicast_op_profile_attr;

#endif
